package com.huangyi;



import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 应用程序启动类
 */
@Slf4j
@SpringBootApplication
@MapperScan("com.huangyi.**.mapper")
//@EnableFeignClients(basePackages = {"com.huangyi.**.feign"})
@EnableFeignClients(clients = {
        com.huangyi.adminapi.appuser.feign.AppUserFeignClient.class,
        com.huangyi.adminapi.map.feign.MapFeignClient.class,
        com.huangyi.adminapi.config.feign.DictionaryFeignClient.class,
        com.huangyi.adminapi.house.feign.HouseFeignClient.class,
})
public class PortalServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(PortalServiceApplication.class, args);
    }
}